package com.markerhub.modules.system.controller;

import com.markerhub.common.lang.Result;
import com.markerhub.service.SysMenuService;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@RestController
@RequestMapping("/sys/user")
public class SysUserController {

    @Resource
    SysMenuService sysMenuService;


    @GetMapping("/list")
    public Result list(){
        return Result.success(sysMenuService.tree());
    }











}
